package Linklist.linklist.two;

public class doubleLink_test {
    public static void main(String[] args) {
        doubleLink doubleLink=new doubleLink();
        doubleLink.addFirst(1);
        doubleLink.addFirst(2);
        doubleLink.addFirst(3);
        doubleLink.addFirst(4);
        doubleLink.display();
        System.out.println();
        doubleLink.addIndex(2,9);
        doubleLink.display();
    }
}
